f07cd603305c14b68713f841e7fb3d76314577a9,tst/org/zoodb/test/jdo/Test_128_QueryPath.java,Test_128_QueryPath,testMap,#,509

Before Change


	
    @Test
    public void testMap() {
    	populateTQC();
  		PersistenceManager pm = TestTools.openPM();
  		pm.currentTransaction().begin();

After Change


	
    @Test
    public void testMap() {
    	Object[] oids = populateTQC();
  		PersistenceManager pm = TestTools.openPM();
  		pm.currentTransaction().begin();

  		Query q = null; 

  		q = pm.newQuery(TestQueryClass.class);
  		q.setFilter("ref.coll.isEmpty()");
  		checkOid(q, oids[2]);

  		q = pm.newQuery(TestQueryClass.class);
  		q.setFilter("ref.coll.contains('coll')");
  		checkOid(q, oids[1]);

  		q = pm.newQuery(TestQueryClass.class);
  		q.setFilter("ref.coll.contains(null)");